dojo.provide("lotex.data");

lotex.data.getValueOrNull = function(/*String*/key, /*Object*/obj) {
    return (dj_undef(key, obj)) ? null : (obj || dj_currentContext)[key];
}